package cn.wp.ewallet.upms.dao;

import cn.wp.ewallet.upms.model.entity.LoginLogDo;

/**
 * 登录日志数据访问
 * Created by chenyb on 2019/10/21
 */
public interface LoginLogDao {

    /**
     * 添加登录日志
     * @return
     */
    public int insertLoginLog(LoginLogDo loginLogDo);

    /**
     * 添加登录设备
     * @param account
     * @param uuid
     * @return
     */
    public int insertLoginEquipment(String account,String uuid);

    /**
     * 查询最后登录设备
     * @return
     */
    public String selectLastLoginEquipment(String account);

}
